package lab01;

/**
 * Created by 阿阿阿阿豪丶 on 2017/9/30.
 */

import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        System.out.println("请输入学生成绩等级：");
        Scanner s = new Scanner(System.in);
        String x = s.nextLine();
        switch (x) {
            case "a":
                System.out.println("该学生成绩在85分以上");
                break;
            case "b":
                System.out.println("该学生成绩在70分到80分之间");
                break;
            case "c":
                System.out.println("该学生成绩在60分到70分之间");
                break;
            case "d":
                System.out.println("该学生成绩在60分以下");
                break;
        }
    }
}
